Skip to content

Bump github.com/thlib/go-timezone-local from 0.0.7 to 0.0.8#271

Open
dependabot[bot] wants to merge 1 commit into
trunkfrom
dependabot/go_modules/github.com/thlib/go-timezone-local-0.0.8
Open

Bump github.com/thlib/go-timezone-local from 0.0.7 to 0.0.8#271
dependabot[bot] wants to merge 1 commit into
trunkfrom
dependabot/go_modules/github.com/thlib/go-timezone-local-0.0.8

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 22, 2026

Copy link
Copy Markdown
Contributor

Bumps github.com/thlib/go-timezone-local from 0.0.7 to 0.0.8.

Release notes

Sourced from github.com/thlib/go-timezone-local's releases.

v0.0.8 — More reliable local time-zone detection

This release improves time-zone detection across Windows and Unix systems, while making the Windows mapping generator safer and easier to maintain.

Highlights

  • Windows now uses the native GetDynamicTimeZoneInformation API first, avoiding a subprocess during normal detection and improving handling when automatic daylight-saving adjustments are disabled.
  • The tzutil fallback no longer causes a console window to flash in GUI and detached applications ([#15](thlib/go-timezone-local#15), thanks [@​williammartin](https://github.com/williammartin)).
  • Unix detection now handles relative /etc/localtime targets and symlinked parent directories more reliably. Time-zone extraction from zoneinfo paths was also simplified ([#17](thlib/go-timezone-local#17), thanks [@​dolmen](https://github.com/dolmen)).
  • TZ environment values with the optional POSIX : prefix, such as :Europe/Tallinn, are now recognized correctly.
  • Added a runnable example demonstrating detection and loading of the resulting IANA time zone.

Mapping generator improvements

  • Replaced the legacy IANA FTP downloader with HTTPS.
  • Added download timeouts, response-size limits, HTTP status checks, and input validation.
  • Improved archive extraction errors and generated-code formatting.
  • Refreshed the Windows-to-IANA mapping and removed an invalid empty mapping.
  • Live network tests are now opt-in through TZLOCAL_LIVE_TESTS=1.

Compatibility note

The public tzlocal API is unchanged. The exported tzdata.FTPDownload helper was removed; this only affects programs importing that generator-oriented helper directly.

Contributors

Special thanks to first-time contributors [@​williammartin](https://github.com/williammartin) and [@​dolmen](https://github.com/dolmen).

Full changelog: thlib/go-timezone-local@v0.0.7...v0.0.8

Commits
  • 8b96dda Harden timezone mapping updates
  • 97ff164 update tzmapping readme
  • dfc6ef6 use GetDynamicTimeZoneInformation and add example
  • 2a811fc apply suggested optimization
  • 2993d6e Merge pull request #17 from dolmen-go/unix-simplify-inferFromPath
  • 11de6d6 Merge pull request #15 from williammartin/fix/suppress-tzutil-console-window
  • fd84b47 unix: simplify inferFromPath
  • f4b1b0c fix: set CREATE_NO_WINDOW on tzutil exec to prevent console flash
  • 9af4692 Update README.md
  • See full diff in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [github.com/thlib/go-timezone-local](https://github.com/thlib/go-timezone-local) from 0.0.7 to 0.0.8.
- [Release notes](https://github.com/thlib/go-timezone-local/releases)
- [Commits](thlib/go-timezone-local@v0.0.7...v0.0.8)

---
updated-dependencies:
- dependency-name: github.com/thlib/go-timezone-local
  dependency-version: 0.0.8
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update go code labels Jul 22, 2026
@dependabot
dependabot Bot requested a review from a team as a code owner July 22, 2026 17:26
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update go code labels Jul 22, 2026
@dependabot
dependabot Bot requested review from williammartin and removed request for a team July 22, 2026 17:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file go Pull requests that update go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants